<?php
/**
 * 解析-收支汇总报表
 * User: bgl
 * Date: 2023/11/13
 * Time: 9:42
 */

namespace App\Console\Commands\SpApi\Report\Parse;


use App\Crontab\Daily\SpApi\GrabParseReport;
use Illuminate\Console\Command;
use SellingPartnerApi\ReportType;

class LedgerSummaryView extends Command
{

    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'sp-report:parse-ledger-summary-view';

    /**
     * The console command description.
     * @var string
     */
    protected $description = 'exe func';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     */
    public function handle()
    {
        $reportType = ReportType::GET_LEDGER_SUMMARY_VIEW_DATA;
        GrabParseReport::grab($reportType);
        $this->info('finish!');
    }

}
